package com.viettel.core.entities.cms;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 *  TABLE THAM SO
 *  @author: ToanTM1
 *  @version: 2.1
 *  @since: 27-02-2014 - 17:59:53
 */

@Entity
@Table(name = "AP_PARAM")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ApParam implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * MA CODE THAM SO
	 */
	@Id
	@Column(name = "CODE", length = 50)
	private String code;
	
	/**
	 * DU LIEU THAM SO
	 */
	@Basic
	@Column(name = "VALUE")
	private String value;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}